package com.poly.cms.pojo.vo;

import com.poly.common.core.web.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 内容基础对象 cms_content
 *
 * @author poly
 * @date 2023-10-25
 */
@ApiModel(value = "CmsContentVO", description = "内容基础")
@Data
public class CmsContentVO extends BaseVO
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("阅读数量")
    private Long readCount;

    @ApiModelProperty("是否置顶")
    private Integer top;

    @ApiModelProperty("是否推荐")
    private Integer recommend;

    @ApiModelProperty("关键字")
    private String keyword;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String content;

    /**
     * 公开
     */

    @ApiModelProperty("公开")
    private Integer openMode;

    /**
     * 频道编号
     */

    @ApiModelProperty("频道编号")
    private Long channelId;

    @ApiModelProperty("频道名称")
    private String channelName;

    /**
     * 附件
     */

    @ApiModelProperty("附件")
    private String annex;

    @ApiModelProperty("附件列表")
    private List<String> annexList;

    /**
     * 状态
     */

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态名称")
    private String statusStr;


    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    /** 更新者 */
    @ApiModelProperty(value = "更新者")
    private String updateByName;

}
